home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…tion Library 4 (Reseller)
/
Apple Ref. & Pres. Lib.v4.0.iso
/
4-Demos
/
Apple Demos
/
Tutorials
/
Display Card 4•8⁄8•24 Training
/
Display Card 4•8_8•24 Training
/
card_13864.txt
< prev
next >
Wrap
Text File
|
1990-03-19
|
5KB
|
240 lines
-- card: 13864 from stack: in
-- bmap block id: 14327
-- flags: 0000
-- background id: 30004
-- name: certificate1
----- HyperTalk script -----
on mouseUp
answer"Click the Return button to go back."
end mouseUp
-- part 1 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=128 top=0 right=22 bottom=508
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 21
-- text size: 18
-- style flags: 10240
-- line height: 19
-- part name: Title
-- part 2 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=128 top=22 right=44 bottom=508
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 21
-- text size: 18
-- style flags: 0
-- line height: 20
-- part name: cardTitle
-- part 3 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=128 top=70 right=313 bottom=509
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 156
-- text size: 14
-- style flags: 0
-- line height: 16
-- part name: cardText
-- part 5 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=484 top=317 right=342 bottom=512
-- title width / last selected line: 0
-- icon id / first selected line: 18613 / 18613
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: return
----- HyperTalk script -----
on mouseUp
pop card into lastPush
if the short name of this stack is not in lastPush then
visual dissolve
go card "Map"
else
visual dissolve
go lastPush
end if
end mouseUp
-- part 6 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=129 top=115 right=154 bottom=509
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 158
-- text size: 14
-- style flags: 0
-- line height: 18
-- part name: directions
-- part 7 (button)
-- low flags: 00
-- high flags: A004
-- rect: left=17 top=153 right=196 bottom=116
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Print Certificate
----- HyperTalk script -----
on mouseUp
global printing
ask "What is your name?"
if it is "Cancel" then exit mouseUp
if it is empty then exit mouseUp
put it into whoAmI
push card
open printing with dialog
--go card "certificate2"
--print card
put "true" into printing
go card "certificate2"
put "In Recognition of Completion" into card field "InRec"
put "has completed the Apple Training Support" into card field "has"
put "self-paced training stack" into card field "self"
put "on this date" into card field "date"
put "Macintosh Graphics Primer" into card field "course"
put "Ô£ø" into card field "logo"
put "®" into card field "regis"
put "Apple Computer, Inc." into card field "Apple"
put whoAmI into card field "myName"
put the long date into card field "theDate"
print card
close printing
put "Macintosh User" into card field "myName"
pop card
put "false" into printing
end mouseUp
-- part 8 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=128 top=258 right=312 bottom=485
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 158
-- text size: 14
-- style flags: 0
-- line height: 18
-- part name: directions
-- part 9 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=128 top=54 right=105 bottom=508
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 158
-- text size: 14
-- style flags: 0
-- line height: 16
-- part name: directions
-- part 10 (button)
-- low flags: 00
-- high flags: 0001
-- rect: left=457 top=317 right=342 bottom=485
-- title width / last selected line: 0
-- icon id / first selected line: 18622 / 18622
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: next
----- HyperTalk script -----
on mouseUp
end mouseUp
-- part 11 (button)
-- low flags: 00
-- high flags: 0001
-- rect: left=428 top=317 right=342 bottom=456
-- title width / last selected line: 0
-- icon id / first selected line: 18621 / 18621
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: prev
----- HyperTalk script -----
on mouseUp
end mouseUp
-- part contents for card part 1
----- text -----
Macintosh Display Card 4•8 and 8•24
-- part contents for card part 2
----- text -----
Certificate of Completion
-- part contents for card part 6
----- text -----
Read these instructions; click the Print Certificate button.
-- part contents for card part 3
----- text -----
• Click the Print Certificate button then type your full name
• Select “Print one card per page”
• Click the OK button
-- part contents for card part 8
----- text -----
Click the Return arrow if you do not wish to print the certificate. You will return to the stack map.
-- part contents for card part 9
----- text -----
Congratulations! You have completed this stack.
You have the option of printing a Certificate of Completion, or you can return to where you were.